﻿using SqlSugar;

namespace net8.Models.XiTong
{
    /// <summary>
    /// 角色表
    /// </summary>
    public class XtRole : Base
    {
        public Guid? CompanyId { get; set; }
        public string RoleName { get; set; }
        public string Remark { get; set; }

        [Navigate(NavigateType.OneToMany,nameof(XtPermission.RoleId))]
        public List<XtPermission> PermissionList { get; set; }
    }
}
